package 设计模式.factory.abstract_factory;

public class YiFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new YiCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new YiDessert();
    }
}
